Mesmerize\Companion D

Total Complexity 263
Dependencies 9
Dependents 11
Total lines 1,571
Lines of code 1,152
Logical lines of code 601
Comment lines 30
Methods 75
Properties 9

Methods 75

Method Rating Maintainability Complexity Lines of code
getThemeMod()
A
44 12 47
applyOnPrimaryLanguage()
A
50 12 26
setPageContent()
A
46 9 39
__construct()
A
46 9 38
isFrontPage()
A
54 10 18
addAdminScripts()
A
39 3 120
shortcodeRefresh()
A
49 9 29
requireCPData()
A
44 8 42
openPageInCustomizer()
A
50 8 25
canEditInCustomizer()
A
54 8 22
canShowDefaultEditor()
A
54 8 21
loadData()
A
49 7 32
setKirkiOutputFields()
S
51 7 25
translateArgs()
S
57 7 16
isMaintainable()
S
59 7 12
checkForThemePreviewedInCustomizer()
S
52 6 23
isWCPage()
S
56 6 20
letToNum()
S
57 6 17
gutenbergEditInCustomizerButton()
S
44 3 60
initCompanion()
S
45 4 41
filterDefault()
S
54 5 21
getTreeValueAt()
S
59 5 14
getCurrentPageId()
S
61 5 12
_createFrontPage()
S
46 3 39
getCustomizerData()
S
59 4 15
maintainablePageEditor()
S
58 4 14
restoreMetaFieldRevision()
S
60 4 13
saveMetaFieldRevision()
S
61 4 12
checkIfCompatibleChildTheme()
S
61 4 12
wrapPostContentInSection()
S
58 3 15
load()
S
63 4 10
get_page_link()
S
59 3 14
addGoogleFonts()
S
61 3 12
isProtectedMeta()
S
62 3 11
cacheData()
S
60 2 24
rootURL()
S
58 2 15
addEditInCustomizerPageButtons()
S
61 2 12
getFrontPage()
S
62 2 11
restoreFrontPage()
S
70 2 6
createFrontPage()
S
68 2 7
customizer()
S
71 2 6
addEditInCustomizer()
S
59 1 15
addMaintainableMetaToRevision()
S
65 2 8
wpEditorSettings()
S
71 2 6
isCustomizePreview()
S
69 2 6
openPageInDefaultEditor()
S
66 2 8
getThemeSlug()
S
69 2 7
showRichTextEditor()
S
69 2 7
loadPHPConfig()
S
69 2 7
loadJSON()
S
68 2 7
filterArrayDefaults()
S
70 2 6
isCurrentThemeSupported()
S
69 2 6
prefixedMod()
S
71 2 5
checkNotifications()
S
66 2 9
getDataHash()
S
62 1 13
isMultipage()
S
79 1 3
rootPath()
S
80 1 3
getTheme()
S
80 1 3
themeDataURL()
S
79 1 3
registerActivationHooks()
S
66 1 9
getThemeName()
S
79 1 3
echoMod()
S
78 1 3
themeDataPath()
S
79 1 3
instance()
S
80 1 3
echoURLMod()
S
71 1 5
dataURL()
S
79 1 3
assetsRootPath()
S
80 1 3
loadJSONFile()
S
80 1 3
getMaintainableMetaKeys()
S
76 1 4
replaceEditor()
S
80 1 3
getMetaFieldRevision()
S
75 1 4
getInstanceData()
S
80 1 3
loadMaintainablePageAssets()
S
79 1 3
assetsRootURL()
S
80 1 3
getMaintainableKeysLabelPair()
S
67 1 7